Fix missing GTK_WIDGET cast on printer option widget in construct_widgets
authorChristian Dywan <christian@twotoasts.de>
Mon, 4 Jan 2010 06:30:57 +0000 (07:30 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 4 Jan 2010 06:30:57 +0000 (07:30 +0100)
gtk/gtkprinteroptionwidget.c

index 3039412c49fe7e22c842c92c7af100746466b128..413b8281f1e8c27172196c62f293b247e495e81c 100644 (file)
@@ -687,14 +687,14 @@ construct_widgets (GtkPrinterOptionWidget *widget)
   
   deconstruct_widgets (widget);
   
-  gtk_widget_set_sensitive (widget, TRUE);
+  gtk_widget_set_sensitive (GTK_WIDGET (widget), TRUE);
 
   if (source == NULL)
     {
       priv->combo = combo_box_new ();
       combo_box_append (priv->combo,_("Not available"), "None");
       gtk_combo_box_set_active (GTK_COMBO_BOX (priv->combo), 0);
-      gtk_widget_set_sensitive (widget, FALSE);
+      gtk_widget_set_sensitive (GTK_WIDGET (widget), FALSE);
       gtk_widget_show (priv->combo);
       gtk_box_pack_start (GTK_BOX (widget), priv->combo, TRUE, TRUE, 0);
     }